package com.pt5.pthouduan.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

// 如果使用Lombok
@Data
@Component
@ConfigurationProperties(prefix = "file")
public class FileStorageProperties {
    private String uploadDir;    // 对应配置中的 file.upload-dir
    private String torrentDir;  // 对应 file.torrent-dir
}